<h2>用户管理 &gt; 搜索</h2>

<? include('part_searchform.phtml');?>

<? echo $this->genPages($this->ret['data']['INFO']);?>

<table class="list" cellpadding="0" cellspacing="0">
	<thead align="center">
		<td nowrap>id</td>
		<td nowrap>用户名</td>
		<td nowrap>性别</td>
		<td nowrap>来自</td>
		<td nowrap>最后登录ip</td>
		<td nowrap>在线累计时间</td>
	</thead>
	<? foreach($this->ret['data']['ROWS'] as $row):?>
	<tr align="left">
		<td nowrap><?= $row['id']?></td>
		<td nowrap align="left" style="over-flow: hide" width="100px">
		<a href='<?= AdminController::_makeURL('account', 'index', 'profile', array('uid'=>$row['id']))?>'><?= $row['username']?></a>
		<br/>&lt;<?= $row['email']?>&gt;</td>
		<td nowrap align='center'><?= ($row['gender_flag']==1)?'男':($row['gender_flag']=='2'?'女':'未知')?></td>
		<td nowrap><?= $row['r_province'].$row['r_city'].$row['r_district']?></td>
		<td nowrap align="center"><?= $row['ip0'].".".$row['ip1'].".".$row['ip2'].".".$row['ip3']?></td>
		<td nowrap align="right"><?= sprintf("%0.2f", $row['online_seconds']/3600)?>小时</td>
	</tr>
	<? endforeach;?>
</table>

<? echo $this->genPages($this->ret['data']['INFO']);?>